* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    color: #303133;
}

#app {
    width: 1200px;
    padding: 20px;
    margin: 0 auto;
}

.box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

@media screen and (max-width: 500px) {
    #app {
        width: 100%;
    }
    .box {
        grid-template-columns: repeat(1, 1fr);
    }
}

.box-item {
    border-radius: 4px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #ebeef5;
}

.box-title {
    font-size: 16px;
    font-weight: normal;
}

.update-time,
.top-list-item > span {
    font-size: 12px;
    color: #909399;
}

.top-list {
    padding: 0 20px;
}

.top-list-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.top-list-item > a {
    color: #606266;
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: color .3s;
}

.top-list-item > a:hover {
    color: deepskyblue;
}

.top-list-item > img {
    margin: 0 5px 0 10px;
}

.list-enter-active, .list-leave-active {
    transition: all 1s;
}
.list-enter, .list-leave-to {
    opacity: 0;
    transform: scale(0);
}
